package com.twu.biblioteca.model.menu;

public abstract class MenuAction {

    private final boolean needsLogin;

    public MenuAction(boolean needsLogin) {
        this.needsLogin = needsLogin;
    }

    public abstract boolean performAction(Menu menu, String[] args);

    public boolean isNeedsLogin() {
        return needsLogin;
    }
}
